home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3743 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: ocbbs.gen.nz!not-for-mail
  2. From: steve@hn.ocbbs.gen.nz (Steve Detoni)
  3. Newsgroups: comp.lang.c++,comp.programming
  4. Subject: Re: Why are 32 bit better than 16 bit pgms?
  5. Followup-To: comp.lang.c++,comp.programming
  6. Date: 26 Jan 1996 10:45:54 +1300
  7. Message-ID: <4e8tmi$ead@hn.ocbbs.gen.nz>
  8. References: <30FBFFE6.1FEB@netcom.com> <4dniuk$lms@dragon.solect.com>
  9. NNTP-Posting-Host: hn.hn.planet.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Matt Gallant (gallantm@kanservu.ca) wrote:
  13. : In article <30FBFFE6.1FEB@netcom.com>, vain@netcom.com says...
  14.  
  15. : The answer to this question can be a matter of opinion.  The common answers 
  16. : given are:
  17.  
  18. : longer hog the process by not yielding on a timely basis.  (There is one snag to 
  19. : this scheme if you're running on Windows 95, and if you develop for Windows 95 
  20. : you are sure to hear about it.  This "snag" is refered to as the Win16Lock or 
  21. : Win16Mutex.)
  22. Actually, pre-emptive multitasking is part of OS than the this 32bit 
  23. magic word. 
  24.  
  25. Actually, come to think of it, some Windows 3.1 programs may even run 
  26. faster because of the co-operative multitasking system employed, a 
  27. program has the CPU for as lon as it wants and may use it to complete its 
  28. task as soon as possible. The beauty of pre-emptive multitasking is when 
  29. you have alot of processes that need to be served by one CPU, thus this 
  30. system makes sure each process is able to get execution by split up CPU time 
  31. between each. This is one reason why some OS/2 programs run slow than 
  32. under Windows. However, without this system, such OS like Unix, VMS etc 
  33. would not be able to run at the capcity they do ...  
  34.  
  35. But it must be stated that 32bits doesn't provide all these features 
  36. (i.e. pre-emptive multitasking, multi-threading, and even to some respect 
  37. flat memory models), its the OS.
  38.  
  39. Steve.
  40.  
  41.